|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
com.omnipilot.lassopro.IntValue
Wrapper for a primitive type int or long.
Used for returning values from LassoCall methods which in LCAPI
would require passing parameters of type pointer: int*,
long* and DescType*.
IntValue outLen = new IntValue();
if ( lasso.arrayGetSize( myArray, outLen ) == ERR_NOERR ) {
lasso.outputTagData( "Array size: " + outLen.toString() );
}
| Constructor Summary | |
IntValue()
|
|
IntValue(int value)
|
|
IntValue(long value)
|
|
| Method Summary | |
boolean |
booleanValue()
Returns the value of this object as boolean. |
byte |
byteValue()
Returns the value of this object as a byte. |
double |
doubleValue()
Sets the value of this object to a specified double. |
float |
floatValue()
Sets the value of this object to a specified float. |
static java.lang.String |
IntToFourCharString(int v)
Casts the value of the specified int to a four-character String. |
int |
intValue()
Returns the value of this object as an int. |
long |
longValue()
Returns the value of this object as a long. |
void |
setByte(byte value)
Sets the value of this object to a specified byte. |
void |
setInt(int value)
Sets the value of this object to a specified int. |
void |
setLong(long value)
Sets the value of this object to a specified long. |
void |
setShort(short value)
Sets the value of this object to a specified short. |
short |
shortValue()
Returns the value of this object as a short. |
java.lang.String |
toDescType()
Casts the value of this object to a four-character String. |
java.lang.String |
toString()
Converts the value of this object to a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IntValue()
public IntValue(int value)
public IntValue(long value)
| Method Detail |
public java.lang.String toString()
String.
public void setByte(byte value)
byte.
public void setShort(short value)
short.
public void setInt(int value)
int.
public void setLong(long value)
long.
public boolean booleanValue()
boolean.
public byte byteValue()
byte.
public short shortValue()
short.
public int intValue()
int.
public long longValue()
long.
public float floatValue()
float.
public double doubleValue()
double.
public java.lang.String toDescType()
String.
public static java.lang.String IntToFourCharString(int v)
int to a four-character String.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||